package cn.hairui.fastms.core.service;

import cn.hairui.fastms.core.bean.SUser;
import cn.hairui.fastms.core.mapper.SUserMapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户信息表 服务实现类
 * </p>
 *
 * @author lihairui
 * @since 2020-11-29
 */
@Service
public class SUserServiceImpl extends ServiceImpl<SUserMapper, SUser> implements SUserService {
    @Autowired
    private SUserMapper sUserMapper;

    @Override
    public List<SUser> selectByWrapper(QueryWrapper<SUser> queryWrapper) {
        return sUserMapper.selectList(queryWrapper);
    }

}
